Rails.application.routes.draw do
  devise_for :admins,     controllers: { sessions: "admins/sessions",     passwords: "admins/passwords" }
  resources :articles
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  get 'admin/index'
  namespace :admin do
    get 'passwords/edit'
    put 'passwords/update'
  end
end
